package service.impl;

import dao.LinDao;
import entity.Lin;
import org.springframework.stereotype.Service;
import service.LinService;

import javax.annotation.Resource;
import java.util.List;
@Service("linService")
public class Linimpl implements LinService {
    @Resource(name="linDao")
    private LinDao linDao;

    @Override
    public List<Lin> list1() {
        return linDao.list1();
    }

    @Override
    public List<Lin> list2() {
        return linDao.list2();
    }

    @Override
    public List<Lin> list3() {
        return linDao.list3();
    }

    @Override
    public int add(Lin l) {
        return linDao.add(l);
    }

    @Override
    public int upd(String id) {
        return linDao.upd(id);
    }

    @Override
    public Lin cha(Lin l) {
        return linDao.cha(l);
    }

    @Override
    public int updnum(Lin l) {
        return linDao.updnum(l);
    }

    @Override
    public int updq(Lin l) {
        return linDao.updq(l);
    }

    @Override
    public int del(long id) {
        return linDao.del(id);
    }

    @Override
    public int updsum(Lin l) {
        return linDao.updsum(l);
    }

    @Override
    public String chanumber() {
        return linDao.chanumber();
    }

    @Override
    public int qing() {
        return linDao.qing();
    }

    @Override
    public int datailsadd(String order) {
        return linDao.datailsadd(order);
    }

    @Override
    public int datailsupd() {
        return linDao.datailsupd();
    }
}
